<?php
/**
 * ===============================================
 * 版权所有 2019-2050 青岛铁锤科技有限公司，并保留所有权利。
 * 网站地址: http://www.huaxianling.com
 * ===============================================
 * Author: Happy dong
 * Created Time: 2019-10-23 10:27
 *
 * Version: 2.0
 */

namespace App\Modules\System\Services;


use App\Modules\System\Repositories\RoleRepository;
use Flower\Core\Repository\Eloquent\BaseService;

class SystemService extends BaseService
{
	private $roleRepository;
	public function __construct(RoleRepository $roleRepository)
	{
		$this->roleRepository = $roleRepository;
	}

	public function getRoleList(){
		return $this->roleRepository->getList();
	}
}